#include <locale.h>
#include "WebBrowser.h"

int main( int argc, char** argv )
{
    QApplication app( argc, argv );
    app.addLibraryPath( "plugins" );
    
    setlocale( LC_ALL, ".936" );
    QTextCodec::setCodecForCStrings( QTextCodec::codecForName("gb18030") );
    QTextCodec::setCodecForLocale( QTextCodec::codecForName("gb18030") );
    QTextCodec::setCodecForTr( QTextCodec::codecForName("gb18030") );
    
    WebBrowser* webBrowser = new WebBrowser;
    webBrowser->show();
    
    return app.exec();
}
